package com.datang.springcode.autowiredInject1;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class Order {
    private Law law;

    @Autowired
    public Order(Law law) {
        this.law = law;
    }

    public Order(String name) {

    }
}
